package com.fxkj.cloud.drms.ui;

import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

//@RemoteApplicationEventScan(basePackages = {
//        "com.fxkj.cloud.dbs.common.event"
//})
@SpringBootApplication
@EnableDiscoveryClient
@EnableMethodCache(basePackages = "com.fxkj.cloud.drms.infra.persistence.cache")
@ComponentScan({"com.fxkj.cloud.drms.*", "com.fxkj.common.**"})
@EnableFeignClients(basePackages = {"com.fxkj.cloud.drms.infra"})
public class FxCloudDrmsServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(FxCloudDrmsServerApplication.class, args);
    }

}
